﻿using Caliburn.Micro;

namespace WPCloudPT.ViewModels
{
    /// <summary>
    /// classe para lidar com o tombstoning da view/viewmodel
    /// </summary>
    public class MainPageModelStorage : StorageHandler<MainPageViewModel>
    {
        public override void Configure()
        {
            Property(x => x.IsAuthVisible)
                .InPhoneState()
                .RestoreAfterViewLoad();
          
            
            Property(x => x.TxtAutPin)
                .InPhoneState()
                .RestoreAfterViewLoad();

           
            Property(x => x.UserTemp).InPhoneState().RestoreAfterViewLoad();

            Property(x => x.IsInfoUserActive).InPhoneState().RestoreAfterViewLoad();

            Property(x => x.CloudPtInfo).InPhoneState().RestoreAfterViewLoad();

        }


      
    }
}
